package cn.com.dhcc.turbo.entity.exch;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by zss on 2014/6/6.
 */
@SiTable(name = "turbo_exch_error_log")
public class ExchErrorLog extends ModuleFeatureBean implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	@SiColumn(name = "id",isId=true)
    private String id;
    @SiColumn(name = "status")
    private String status;//错误状态Const.PostheadStatus
    @SiColumn(name = "type")
    private String type;//ftp or cmdata or sql， ExchType
    @SiColumn(name = "message")
    private String message;//错误消息
    @SiColumn(name = "syscode")
    private String syscode;//发送节点
    @SiColumn(name = "posthead")
    private String posthead;//路由文件
    @SiColumn(name = "filename")
    private String filename;//文件名
    @SiColumn(name = "payload")
    private String payload;//内容信息体
    @SiColumn(name = "created")
    private Date created;//发送时间
    @SiColumn(name = "errstack")
    private String errstack;//堆栈信息

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getSyscode() {
        return syscode;
    }

    public void setSyscode(String syscode) {
        this.syscode = syscode;
    }

    public String getPosthead() {
        return posthead;
    }

    public void setPosthead(String posthead) {
        this.posthead = posthead;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getPayload() {
        return payload;
    }

    public void setPayload(String payload) {
        this.payload = payload;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public String getErrstack() {
        return errstack;
    }

    public void setErrstack(String errstack) {
        this.errstack = errstack;
    }
}
